package com.buybuyyi.stylistcrm.order.mapper;

import java.util.List;

import com.buybuyyi.stylistcrm.order.po.PurchaseOrder;
import stylistcrm.core.services.order.dto.PurchaseOrderDto;
import stylistcrm.core.services.order.dto.QueryOrderConditionDto;

public interface PurchaseOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PurchaseOrder record);

    int insertSelective(PurchaseOrder record);

    PurchaseOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PurchaseOrder record);

    int updateByPrimaryKey(PurchaseOrder record);
    
    List<PurchaseOrderDto> getPageList(QueryOrderConditionDto queryCondition);
    
    List<Integer> getPageIdList(QueryOrderConditionDto queryCondition);
    
    Integer getTotalCount(QueryOrderConditionDto queryCondition);
}